package workerUIs;

import javax.swing.JOptionPane;

/**
 * SpecificationStepFrame class.
 * 
 * @author Mark Czotter
 * @author Miklos Szennai
 * 
 */
public class SpecificationStepFrame extends StepFrame {
	
	private String softwareName;

	public SpecificationStepFrame(String title, boolean isInputMode, int posX, int posY) {
		super(title, posX, posY);
		getNextButton().setEnabled(true);
		if (isInputMode) {
			this.softwareName = JOptionPane.showInputDialog(this, "Enter Software name: ");
		}
	}
	
	public String getSoftwareName() {
		return softwareName;
	}
	
	

}
